from django.conf.urls import patterns, include, url
from datiandouweb.views.mainviews import authority
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()
from datiandouweb.views import *
urlpatterns = patterns('',
    # Examples:


    url(r'^personaledit/load$', persnalviews.load_personal_edit, name='load_persional_edit'),
    url(r'^personaledit/save$', 'datiandouweb.views.persnalviews.save_persional_info', name='save_persional_info'),


    url(r'^cvcenter/load$', 'datiandouweb.views.cvuploadviews.load_cv', name='load_cv'),
    url(r'^cvcenter/approval_cv$', 'datiandouweb.views.cvuploadviews.load_approval_cv', name='approval_cv'),
    url(r'^cvcenter/update_approval_cv$', 'datiandouweb.views.cvuploadviews.update_approval_cv', name='update_approval_cv'),



    url(r'^cvcenter/del/(?P<resume_id>\d+)$', 'datiandouweb.views.cvuploadviews.del_cv', name='del_cv'),
    url(r'^cvcenter/download_cv/(?P<resume_id>\d+)$', 'datiandouweb.views.cvuploadviews.download_file', name='download_file'),
    url(r'^cvcenter/load_upload$', 'datiandouweb.views.cvuploadviews.load_upload_cv', name='load_upload_cv'),
    url(r'^cvcenter/multi_uploader$', 'datiandouweb.views.cvuploadviews.multi_uploader', name='multi_uploader'),
    url(r'^cvcenter/save_upload$', 'datiandouweb.views.cvuploadviews.save_upload', name='save_upload'),
    url(r'^cvcenter/refresh_cv$', 'datiandouweb.views.cvuploadviews.refresh_cv', name='refresh'),


    url(r'^taskcenter/load_translate$', 'datiandouweb.views.taskviews.load_translate_task', name='load_translate'),
    url(r'^taskcenter/load_calendar$', 'datiandouweb.views.taskviews.load_task_calendar', name='load_calendar'),
    url(r'^taskcenter/load_create_task$', 'datiandouweb.views.taskviews.load_create_task', name='load_create_task'),
    url(r'^taskcenter/create_task$', 'datiandouweb.views.taskviews.create_task', name='create_task'),
    url(r'^taskcenter/view_task_flow$', 'datiandouweb.views.taskviews.view_task_flow', name='viewtaskflow'),

    url(r'^infocenter/load_infocenter$', 'datiandouweb.views.infoviews.load_information', name='load_infocenter'),
    url(r'^infocenter/my_task$', 'datiandouweb.views.infoviews.my_task', name='my_task'),



)
